package com.personnalManagerSystem.service.impl;

import com.personnalManagerSystem.model.CompanyIncome;
import com.personnalManagerSystem.mapper.CompanyIncomeMapper;
import com.personnalManagerSystem.service.ICompanyIncomeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liqing
 * @since 2022-04-09
 */
@Service
public class CompanyIncomeServiceImpl extends ServiceImpl<CompanyIncomeMapper, CompanyIncome> implements ICompanyIncomeService {
    @Autowired
    CompanyIncomeMapper companyIncomeMapper;
    @Override
    public  Boolean getCompanyProfit(Long id) {
        return companyIncomeMapper.getCompanyProfit(id);
    }
}
